package com.ngkj.zmfptback.sys.mapper.write;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author ChenHN
 * @since 2021/12/21 creation
 **/
@Mapper
public interface UserRoleWriteMapper {

    void addUserRoles(@Param("id") Integer id ,@Param("list") List<String> list);

    void deleteUserRoles(@Param("id") Integer id,@Param("list") List<String> list);

    void deleteUserRolesByRoleId(@Param("id") Integer id);
}
